-
Notifications
You must be signed in to change notification settings - Fork 4
New Api definition #138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feature/RDKEMW-6120-B1
Are you sure you want to change the base?
New Api definition #138
Conversation
dsSetStandbyVideoState dsGetStandbyVideoState dsSetAvPortState dsSetLEDStatus dsSetRebootConfig
ds/videoOutputPort.cpp
Outdated
|
|
||
| bool VideoOutputPort::SetStandbyVideoState(const string port , const bool enable) | ||
| { | ||
| dsError_t ret = dsSetStandbyVideoState(port, enable); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to propagate dsError_t, applicable to other APIs too..
ds/hdmiIn.cpp
Outdated
| printf ("%s:%d - HDMI Compatibility Version = %d\n", __PRETTY_FUNCTION__, __LINE__, *capversion); | ||
| } | ||
|
|
||
| void HdmiInput::getHDMIARCPortId(int *portId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to propagate dsError_t
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds new API definitions for managing standby video state and HDMI ARC port functionality. The changes implement functions to get and set standby video states for video ports, along with a new function to retrieve HDMI ARC port IDs.
- Implements
dsSetStandbyVideoStateanddsGetStandbyVideoStatefunctions for managing video port standby states - Adds corresponding C++ wrapper methods in
VideoOutputPortclass - Introduces
getHDMIARCPortIdfunction inHdmiInputclass for retrieving ARC port information
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| rpc/cli/dsVideoPort.c | Implements core C functions for setting and getting standby video state |
| ds/videoOutputPort.cpp | Adds C++ wrapper methods for standby video state management |
| ds/include/videoOutputPort.hpp | Declares new standby video state methods in header |
| ds/include/hdmiIn.hpp | Declares new HDMI ARC port ID getter method |
| ds/hdmiIn.cpp | Implements HDMI ARC port ID retrieval function |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
dsSetStandbyVideoState
dsGetStandbyVideoState